/*
 * led.h
 *
 *  Created on: Dec 30, 2023
 *      Author: tangle
 */

#ifndef DRIVERS_LED_DRIVER_LED_H_
#define DRIVERS_LED_DRIVER_LED_H_

typedef void (*LEDON_CB)(void);
typedef void (*LEDOFF_CB)(void);
typedef void (*LEDFLIP_CB)(void);

typedef struct
{
	void(*led_on)(void);
	void(*led_off)(void);
	void(*led_flip)(void);
}LED_Handle_s;




void led_on(LED_Handle_s *LEDHandle);
void led_off(LED_Handle_s *LEDHandle);
void led_flip(LED_Handle_s *LEDHandle);
void LED_Callback_Register(LED_Handle_s *LEDHandle,LEDON_CB ledon_cb,LEDOFF_CB ledoff_cb,LEDFLIP_CB ledflip_cb);

#endif /* DRIVERS_LED_DRIVER_LED_H_ */
